@namespace SwashbucklerDiary.Rcl.Pages
@inherits DialogComponentBase

<CustomMDialog MyValue="Visible"
               MyValueChanged="InternalVisibleChanged"
               ContentStyle="display: flex;flex-direction: column;"
               Fullscreen="true"
               Eager
               Transition=""
               OnBeforeShowContent="HandleOnBeforeShowContent"
               OnAfterShowContent="HandleOnAfterShowContent">
    <MyAppBar OnClick="HandleOnCancel">
    </MyAppBar>

    <ScrollContainer ContentClass="pa-0" ContentStyle="height:100%;">
        <div class="d-flex justify-center align-center" style="width:100%;height:100%;">
            <div class="d-flex justify-center scroll-show" style="width:100%;max-height:100%;overflow:auto;">
                <div style="width:100%;height:fit-content;">
                    <GestureUnlock @ref="gestureUnlock"
                                   Title="@I18n.T(string.IsNullOrEmpty(firstValue) ? "Please draw a pattern" : "Please draw the pattern again")"
                                   OnFinish="HandleNumberLockOnFinish">
                    </GestureUnlock>
                </div>
            </div>
        </div>
    </ScrollContainer>
</CustomMDialog>

